package ink.xiaobaibai.common;

import lombok.Data;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @description: 购买业务下单bo
 * @author: 小白白
 * @create: 2021-06-13
 **/

@Data
public class BuyPayBo {

    @NotNull
    @DecimalMin(value = "0.01")
    private BigDecimal amount;

    @NotNull
    private Integer adminUserId;

    @NotNull
    private String name;

    @NotNull
    private String phone;

    @NotNull
    private String address;

    private Integer productId;

}
